package com.yanmaohu.nikita.data.expression;

/**
 * @author Bright Lee
 */
public abstract class Expression {

    private final int beginIndex;
    private final int endIndex;

    public Expression(int beginIndex, int endIndex) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
    }

    public final int getBeginIndex() {
        return beginIndex;
    }

    public final int getEndIndex() {
        return endIndex;
    }

}
